<?php
/**
 * 前端全局加载
 * $Id: common.php 236 2011-01-10 15:18:09Z bwanglei@gmail.com $
 */

if (!defined('AW_ROOT')) {
	define('AW_ROOT',dirname(dirname(__FILE__)));
}
if (!defined('ROOT_PATH')) {
	define('ROOT_PATH', dirname(dirname(__FILE__)));
}

require_once AW_ROOT.'/includes/init.php';

//读取缓存
$tag_cache = $CACHE->readCache('tags');
$com_cache = $CACHE->readCache('comment');
$link_cache = $CACHE->readCache('links');
$user_cache = $CACHE->readCache('users');
$dang_cache = $CACHE->readCache('record');
$sta_cache = $CACHE->readCache('sta');
$pages_cache = $CACHE->readCache('pages');
